home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / terminal / hamlet33 / hamlet33.doc < prev    next >
Encoding:
Text File  |  1993-10-31  |  23.7 KB  |  480 lines

  1.                    HamlET - A Ham Radio terminal Program
  2.                        By Paul B. Schou - KE6ET
  3.                         Copyright (c) 1991-93
  4.  
  5. HamlET v 3.3 is Shareware. Use it and share it (noncommercially) freely. A
  6. Twenty Dollar ($20.00) contribution will entitle you any HamlET updates or,
  7. heaven forbid, bug fixes developed during the following year. Please indicate
  8. what size floppy you use. Updates will be mailed to you. Please mail checks to
  9. the author:
  10.  
  11. Paul B. Schou
  12. 501 Tayman Drive
  13. Annapolis, MD 21403
  14.  
  15. Equipment Requirements
  16.    HamlET will run on any PC compatible computer using DOS 3.0 or higher.
  17.    It will probably run on earlier DOS versions but has not been tested
  18.    with earlier DOS's.
  19.  
  20.    HamlET will run with a minimum of 128K of RAM. If you use the
  21.    optional shelling or program calling procedures enough memory must
  22.    be available for them.
  23.  
  24.    HamlET requires a serial port.
  25.  
  26. Features:
  27.    I wrote HamlET because I wanted some things I couldn't find in other
  28.    packet terminal programs. I wanted a small program that would run on
  29.    a single floppy and still have room to save data. I wanted a program
  30.    that would run when called without having to bother with "Press any key
  31.    to continue." or other intermediate steps. I also wanted the ability to
  32.    run under DESQview or other multitasking software. Lastly I wanted the
  33.    ability to use Comm ports one through four and to select IRQ's for ports
  34.    three and four.
  35.  
  36.    HamlET does those things on an uncluttered split screen display. It also
  37.    can save or send ASCII files, print received stuff, set the TNC clock
  38.    and scroll the receive window. HamlET can also be configured to call your
  39.    favorite editor or other programs. HamlET uses the SHIFT-F and CTRL-F
  40.    keys to send sets of user definable commands or messages to the TNC. This
  41.    feature is especially useful with multimode TNC's. HamlET will select and
  42.    run in mono, CGA, EGA VGA or SVGA. HamlET is compatible with WB4APR's
  43.    Automatic Position Report System (APRS). It will automatically respond to
  44.    APRS position report requests when the APRS mode is active.
  45.  
  46.    HamlET has two distinct personalities. For the Ham new to packet or
  47.    computers, it is a very simple terminal program that requires minimal
  48.    knowledge. For the experienced packet user it is a fully customizable
  49.    program with multiple configuration profiles that will run in multitasking
  50.    environments.
  51.  
  52.    HamlET does not mess with your TNC!  Commands will not be sent to the TNC
  53.    that you do not specify. There is one exception but you can override it.
  54.    HamlET uses the default settings of most TNC's except the few commands
  55.    explained below.
  56.  
  57. For The Impatient:
  58.    Switch to the drive/directory where HAMLET.EXE is located and type
  59.                            hamlet
  60.    If you are using 1200 Baud between the TNC and the computer and your TNC
  61.    is connected to Comm 1, HamlET will run. If it doesn't read on.
  62.  
  63. The Configuration File:
  64.    HamlET allows the user to select a configuration file. The configuration
  65.    file allows the user to select Comm ports and Baud rates and to send
  66.    commands to the TNC. This file must be in the same Drive/Directory as
  67.    HAMLET.EXE. The default configuration file name is HAMLET.CFG.
  68.    If the program doesn't find HAMLET.CFG on start up it will tell you so and
  69.    will default to COMM 1 and 1200 Baud. The same defaults will be used if the
  70.    program doesn't like the numbers in the HAMLET.CFG file. You'll be told if
  71.    the numbers are wrong.
  72.  
  73.    If you want to use a config file other than HAMLET.CFG simply type
  74.                     hamlet urfle.cfg
  75.    when you start the program. urfile.cfg can be any file name.
  76.  
  77.    A configuration file has lines of information: A typical file looks
  78.    like this:
  79.  
  80.     1           [Line 1 - Comm Port]
  81.     1200        [Line 2 - Baud Rate]
  82.     4           [Line 3 - IRQ]
  83.         \ted.com
  84.  
  85.         + Xflow Off
  86.         + MY YOURCALL
  87.         = [Time]
  88.         - CT The terminal is off.
  89.         + CT The terminal is on. Use CTRL-G to ring my bell.
  90.         * 3856.00N 07659.79W    Put your Lat/lon here for APRS.
  91.         [LAST LINE]
  92.  
  93.    The wording of the comments inside the brackets [ ] is optional as are 
  94.    the brackets BUT there must be something there. Anything will work as
  95.    long as its separated from the number by a few spaces. This applies to 
  96.    the first three lines and the Equal (=) sign line. The last line must
  97.    have something in it that isn't a + - * or = sign.
  98.  
  99.    The first line designates the Comm Port. 1, 2, 3, or 4 are acceptable. If
  100.    you use ports 3 or 4 be sure to read the discussion in the Comm Port 
  101.    paragraphs.
  102.  
  103.    The second line selects the Baud rate between the computer and the TNC.
  104.    HamlET will operate with Baud rates of 300, 1200, 2400, 4800, 9600 or
  105.    19200. Most users will find that 9600 Baud works fine. Some TNC mailboxes
  106.    may not support hardware hand-shaking. If you get garbled data when reading
  107.    long messages (3K+) from your mailbox, reduce the Baud rate to 4800 or less.
  108.  
  109.    The third line selects the IRQ or Interrupt Request. This should be set
  110.    to 4 if Comm Port 1 is used and 3 if Comm Port 2 is used. See the discussion
  111.    in the Comm Port paragraphs for more detail on the IRQ's for Comm Ports
  112.    Three and Four.
  113.  
  114.    The fourth line is used to identify an Editor or other program that can be
  115.    called while in HamlET. Put the program name in this line. Be sure to
  116.    include the .COM or .EXE extension. If the program is not in the Path
  117.    include the full pathname. If you plan to use an Editor to prepare packet 
  118.    messages make sure you use an ASCII editor. DESQview users should read the
  119.    DESQview paragraphs.
  120.    NOTE: IF YOU DON'T USE THIS FEATURE LEAVE THE FOURTH LINE BLANK.
  121.  
  122.    The fifth line is used to identify a Logging or other program that can be
  123.    called while in HamlET. Put the program name in this line. Be sure to
  124.    include the .COM or .EXE extension. If the program is not in the Path
  125.    include the full pathname. DESQview users should read the DESQview
  126.    paragraphs.
  127.    NOTE: IF YOU DON'T USE THIS FEATURE LEAVE THE FIFTH LINE BLANK.
  128.  
  129.    The rest of the file lines are sent to the TNC when the program is
  130.    started or exited.
  131.  
  132.    If you want your TNC clock set to the computer clock on start up, put this
  133.    line in the .CFG file;
  134.    = Time 
  135.   
  136.    The APRS mode is activated by including a line, preceded by an * containing
  137.    your Latitude, longitude and comments. Including this information will start
  138.    HamlET in the APRS mode. The Lat/lon format must be followed exactly. The
  139.    numbers are in degrees followed by minutes and decimal minutes and the
  140.    hemisphere. Include leading zeros to pad the degrees and whole minutes of
  141.    longitude to 5 places and Latitude to 4 places. Be sure to use upper case
  142.    for the  N, S, E, and W indicators. The sample line:
  143.    * 3856.00N 07629.79W KE6ET's Home QTH
  144.    Indicates 38 degree 56.0 minutes North Latitude and 76 degrees 29.79 minutes
  145.    West longitude. The phrase "KE6ET's Home QTH" will be added to the APRS
  146.    formatted Lat/lon info in the position report and BText information. See the
  147.    APRS section for more info.
  148.  
  149.    On start up any TNC command may be sent by preceding the command with a
  150.    plus sign (+). Thus the line;
  151.    + CT The terminal is on.
  152.    sets CText to "The terminal is on."
  153.  
  154.    When you exit the program any line preceded with a minus sign (-) will
  155.    be sent to the TNC. Thus;
  156.    - CT The terminal is off.
  157.    sets CText to "The terminal is off."
  158.  
  159.    Any number of + and - lines may be included in the HAMLET.CFG file as long
  160.    as they are after the fifth line. The +, - and * lines may be intermingled.
  161.  
  162.    A sample HAMLET.CFG file is included in HAMLET.ZIP. Edit the file with any
  163.    ASCII editor or word processor to reflect your configuration. If you use a
  164.    non ASCII word processor to create or modify the .CFG file be sure to save
  165.    it as an ASCII file.
  166.  
  167.  
  168. Setting the TNC parameters:
  169.    HamlET is designed to work with the default parameters of most TNC's.
  170.    These settings are changes from typical default settings. Xflow OFF is
  171.    mandatory. The next three are highly recommended. The others are
  172.    suggestions.
  173.  
  174.      Parameter       Setting
  175.         Xflow          OFF      HamlET uses hardware flow control. Xflow
  176.                 must be off to avoid conflicts. The serial
  177.                 cable must be a standard cable. A three wire
  178.                 cable might not work in overflow situations.
  179.  
  180.         Echo            OFF     Turning Echo OFF prevents what you send
  181.                 from appearing in the receive window.
  182.  
  183.         Flow            OFF     Turning Flow OFF allows incoming data to
  184.                                 be received while you are typing. HamlET
  185.                 will separate the send and receive data.
  186.  
  187.         LFIgnore        ON      HamlET works with this OFF or ON unless
  188.                                 sending an ASCII file. Turn it ON to be sure.  
  189.  
  190.         CMSg            ON      If you want CT messages sent when someone
  191.                                 connects, this must be ON.
  192.  
  193.         NEwmode         ON      Personal preference. I would rather let the TNC
  194.                 switch back to Command mode after a disconnect.
  195.  
  196.         PIdcheck        OFF     If you get a lot of ASCII stuff from Nodes
  197.                                 turn this OFF to eliminate the trash.
  198.  
  199.         STREAMCall      ON      If you allow multiple users, turn this ON to
  200.                 help sort them out.
  201.  
  202.         USers           2 - 10  Allow as many users as you want, up to your
  203.                 TNC's limit.
  204.  
  205.  
  206. Using HamlET
  207.    HamlET features a split screen display. The top 18 lines are used for the
  208.    Receive window The lower part of the screen has five lines dedicated as
  209.    the Send window. The windows are separated by a double line with the
  210.    computer clock time running on the right side. If the APRS mode is active
  211.    a  will appear to the right of the clock. The bottom line or Prompt line
  212.    shows what some function keys do.
  213.  
  214.    Any incoming data will appear in the Receive window. The TAB is
  215.    set to eight spaces.
  216.  
  217.    When the clock is running, HamlET is ready for use.
  218.  
  219.    Data that has scrolled off the receive window can be reviewed by using PgUp
  220.    to enter the scroll mode. The PgUp and PgDn keys then allow scrolling
  221.    through the last 10 screens. A flashing prompt will appear on the prompt
  222.    line while scrolling is active. Pressing End returns from the Scroll mode
  223.    to the normal Receive mode.
  224.  
  225.    Anything typed in the five line Send window is sent immediately to the TNC.
  226.    Limited editing capabilities are available by using the Backspace key.
  227.  
  228.    F1-Help
  229.       F1 Brings up a help menu that shows information about the special
  230.       keys and shows some configuration data. You probably won't need this
  231.       too often.
  232.  
  233.    F2-Print
  234.       If a printer is connected to printer port 1, F2 will start the
  235.       printer. If the printer is not on or if the program detects a printer
  236.       error you will hear a beep. If the printer is OK the word "Print" in
  237.       the prompt line will flash. Anything received from the TNC will now 
  238.       print and appear in the Receive window. Pressing F2 a second time will
  239.       turn the print function off and "Print" will stop flashing.
  240.  
  241.    F3-Save
  242.       F3 is used when you want to save incoming information to an ASCII file.
  243.       Pressing F3 will open a small window that asks you to name the file
  244.       that information is to be saved to. You may include a full path and
  245.       file name. If you just input a file name the file will be saved in the 
  246.       current directory. If the file exists HamlET APPENDS data to the end of
  247.       the file. If the file doesn't exist HamlET will create a new file.
  248.       The word "Save" in the Prompt line will flash while data is saved.
  249.       Press F3 again to stop the save function.
  250.  
  251.    F4-Send
  252.       F4 is used to send prepared ASCII text files to the TNC. The files
  253.       can consist of commands for the TNC or text to be sent to another
  254.       station. Pressing F4 will open a small window that asks you for a file
  255.       name. Enter the file name that you want to send. This feature is useful
  256.       for sending prepared messages or for sending brag tapes. For instance
  257.       a file named QTH could send your name and address. You may also prepare
  258.       messages or a series of messages to be sent to your local bulletin board.
  259.  
  260.       When you send a file using F4, the transmitted text will appear in the
  261.       Send window and the flashing words "Any Key" will replace "F4-Send" on
  262.       the prompt line. Pressing any key but the Escape key will abort
  263.       transmission of the file. The Escape key will also abort the file
  264.       transmission but it will also close the HamlET program which probably
  265.       is not what you want to do.
  266.  
  267.       If the file length exceeds the TNC transmit buffer size, transmission
  268.       from the computer to the TNC will pause. The text in the Send window
  269.       will also pause. Transmission to the TNC and the Send window will
  270.       continue when the TNC buffers are empty. This is done automatically
  271.       by the programs hardware flow control. Transmission from the TNC to the
  272.       other station can be monitored by observing the TNC status lights. XFLOW
  273.       must be OFF for hardware flow control to operate properly.
  274.  
  275.   F5-Set TNC Time
  276.       Pressing F5 will set the TNC clock to the computer time. This feature
  277.       is an alternative to using the "= Time" line in the HAMLET.CFG file.
  278.       The F5 command is not shown on the prompt line but is in the help menu.
  279.  
  280.   F6-Editor
  281.       Pressing F6 will bring up the editor or other program that you named
  282.       in line four of the hamlet.cfg file.  You may use this function to
  283.       access your favorite editor or use it to bring up a DOS shell. HamlET
  284.       users have found that naming Vern Buerg's LIST.COM in line four, to
  285.       access an editor, provides a powerful tool that can be used for editing
  286.       or file manipulation.
  287.  
  288.       LIST is shareware and Copyright (C) 1983-1991 by;
  289.       Vernon D. Buerg
  290.       139 White Oak Circle
  291.       Petaluma, CA  94952
  292.  
  293.       LIST is available from the author and many land line BBS's including:
  294.       (707) 778-8944    VOR 24-hour bulletin board
  295.       (707) 778-8841    MB  24-hour bulletin board
  296.       (415) 994-2944    VOR South 24-hour BBS
  297.  
  298.       TED.COM a Tiny EDitor developed by Tom Kihlken of PC magazine is included
  299.       in the HAMLET.ZIP file. This is a very efficient editor that uses less
  300.       than 4K of disk space. The documentation for it is also included.
  301.  
  302.   F7-Log
  303.       Pressing F7 will bring up the Logging or other program that you named
  304.       in line five of the hamlet.cfg file.  You may use this function to
  305.       access your favorite logger or any other program that you might want to
  306.       use.
  307.  
  308.   F8-APRS
  309.       Pressing F8 will toggle the Automatic Position Reporting System (APRS)
  310.       compatibility mode on or off. When the APRS mode is ON, a happy face 
  311.       will appear to the right of the clock. See the APRS section for detailed
  312.       information.
  313.  
  314.   F10-Temporary exit to DOS
  315.       Pressing F10 will cause a temporary exit to DOS. HamlET will remain in
  316.       memory as a TSR. Any DOS program can then be run. To return to HamlET,
  317.       type exit. Using F10 in a multitasking mode is not recommended unless
  318.       adequate memory has been allocated for HamlET plus any DOS programs
  319.       that you call with F10.
  320.  
  321.   PgUp-Scroll
  322.       Pressing the PgUp key switches the Receive screen to the Scroll mode.
  323.       Subsequent PgUp or PgDn key presses allow scrolling through the last ten
  324.       pages. Pressing the End key returns to the receive mode. In Scroll mode
  325.       the Send window remains active.
  326.  
  327.   SHIFT-F1 through SHIFT-F10 and CTRL-F1 through CTRL-F10
  328.       These keys allow access to prepared files.  You may prepare up to 20
  329.       files named SF1.TXT through SF10.TXT and CF1.TXT through CF10.TXT. The
  330.       content of these files will be sent when the corresponding F key is
  331.       pressed while holding the SHIFT or CTRL key. This feature is especially
  332.       useful when using a multimode TNC. A series of commands can be sent to
  333.       configure the TNC for the desired mode.
  334.  
  335.  
  336. Comm Ports
  337.    The PC and it's clones were originally designed to handle only two comm 
  338.    ports. When the need for more serial capability was recognized most PC's
  339.    or I/O cards added Comm 3 and Comm 4 at the addresses and using the
  340.    Interrupt Requests (IRQ's) as shown. Most software that uses Comm 3 and 4 
  341.    also expects these addresses and IRQ's.
  342.       
  343.    Port        Base Address    IRQ
  344.  
  345.    Comm1       03F8             4
  346.    Comm2       02F8         3
  347.    Comm3       03E8         4
  348.    Comm4       02E8         3
  349.  
  350.    Unfortunately this causes an immediate conflict between ports 1 and 3 and
  351.    between ports 2 and 4. If a modem is connected to port 1, a mouse to port 2
  352.    and a TNC to port 3 the modem and the TNC will conflict since they share 
  353.    the same IRQ. The associated software cannot tell wich port generated the 
  354.    IRQ. At best the program in use will cause problems and at worst the 
  355.    computer will hang up.
  356.  
  357.    There is a way to solve the problem. HamlET allows you to select other
  358.    IRQ's for comm 3 and 4. If your serial I/O board also allows selection of
  359.    other IRQ's (many of them do) all you have to do is pick a number and go.
  360.    
  361.    Be careful picking the number. Stick to 2, 5 or 7. IRQ 2 is usually 
  362.    for a second parallel port. If you are using two printer ports don't use
  363.    IRQ 2. IRQ's 5 and 7 are normally safe if other add-on boards have not 
  364.    usurped the IRQ's. HamlET accepts only IRQ's 2, 3, 4, 5 and 7. Any other
  365.    IRQ numbers will cause an error when the HAMLET.CFG file is read. To make
  366.    HamlET respond correctly first set the I/O board to the desired IRQ and
  367.    Comm Port. Then edit the first and third lines of the HAMLET.CFG file to
  368.    reflect the Port and IRQ numbers.
  369.  
  370.    This procedure applies only to Comm Ports 3 and 4. The IRQ's for Ports 1 
  371.    and 2 are fixed by the program and are not affected by line three of the 
  372.    HAMLET.CFG file.
  373.  
  374. APRS Compatibility Mode
  375.    The APRS software developed by Bob Bruninga WB4APR, uses unconnected frames
  376.    containing position information to plot station locations on a map. The
  377.    position information can contain time, latitude, longitude, course, speed
  378.    altitude, weather, comments and other data. HamlET can generate BText lines
  379.    and special transmissions containing time, latitude, longitude and comments
  380.    in the APRS format. HamlET can also respond automatically to requests for
  381.    position information from other stations using APRS or HamlET. The APRS VHF
  382.    mode coverage depends on the number of stations participating and on the
  383.    same frequency. In the Baltimore/Washington area 145.79 mHz is used by most
  384.    APRS compatible stations. All stations are encouraged to set their alias
  385.    (MYA) to RELAY, and their UNprotect to APRS V RELAY. If wider coverage is
  386.    warranted UN can be set to APRS V RELAY,RELAY or even V RELAY,RELAY,RELAY.
  387.    If you want your position data to be sent at regular intervals set your
  388.    Beacon time accordingly. Times in the order of every 30 minutes or more are
  389.    usually adequate.
  390.  
  391.    The APRS mode is activated by including a line, preceded by an * containing
  392.    your Latitude, longitude and comments in your configuration file. The line
  393.    will start HamlET in the APRS mode. The Lat/lon format must be followed
  394.    exactly. The numbers are in degrees followed by minutes and decimal minutes
  395.    and the hemisphere. Include leading zeros to pad the degrees and whole
  396.    minutes of longitude to 5 places and Latitude to 4 places. Be sure to use
  397.    upper case for the  N, S, E, and W indicators. The sample line:
  398.  
  399.    * 3856.00N 07629.79W KE6ET's Home QTH
  400.  
  401.    Shows 38 degree 56.0 minutes North Latitude and 76 degrees 29.79 minutes
  402.    West longitude. The phrase "KE6ET's Home QTH" will be added to the APRS
  403.    formatted Lat/lon info in the position report and BText information.
  404.  
  405.    The program will start in the APRS mode and a "Happy Face"  will appear
  406.    on the splitline to the right of the clock. Your BText will be set to an
  407.    APRS format containing the time you started HamlET, latitude, longitude
  408.    and any comments as specified in the configuration file. The following
  409.    special keys and subroutines will be active while you are in the APRS
  410.    mode and not connected to another station.
  411.  
  412.    F8 - Toggles the APRS mode on or off. The  indicates that APRS is active.
  413.  
  414.    CTRL Q - Transmits the special APRS position report (Q)uery. Any station,
  415.    with APRS compatible software, receiving the (Q)uery will respond with
  416.    their latitude and longitude.
  417.  
  418.    CTRL T - (T)ransmits your computer time, followed by your latitude,
  419.    longitude and comments in an APRS format.
  420.  
  421.    CTRL A - Allows you to (A)dd to or change the lat/lon and/or comments
  422.    information. A small window will appear with prompts. Press just Enter at
  423.    the prompt to retain the present settings. Be sure to enter the data
  424.    correctly. There is no error checking incorporated in this function. Limit
  425.    the length of the comments to less than 25 characters.
  426.  
  427.    TAB - APRS provides a method of sending one-line messages to stations within
  428.    the digipeat range. The format of the messages is the TO call sign padded
  429.    to nine spaces followed by a Colon and the message. To send a one line
  430.    message type the callsign and press the TAB key. HamlET will do the padding
  431.    and insert the Colon. Type the one line message and press ENTER. Stations
  432.    running the APRS software generate and expect acknowledgements to one-line
  433.    messages. To send an acknowledgment, type the senders call, press TAB, then
  434.    type ack and press ENTER.
  435.  
  436.    When you exit HamlET the BText message time will be reset to the exit time.
  437.    The lat/lon data will be followed by a "TNC Only" and whatever comments that
  438.    are specified. The BText message can be over written by adding a -BT line
  439.    in the configuration file with the text of your choice.
  440.  
  441. DESQview
  442.    HamlET will run in DESQview without problems. Set the memory required to
  443.    66k. If you use the F6, F7 or F10  functions when running in DESQview
  444.    make sure you set the DV memory required high enough to accommodate the
  445.    additional programs. The best practice is to open additional programs as
  446.    other DESQview applications. Be sure to configure the serial ports in the
  447.    DESQview PIF file to reflect your configuration.
  448.  
  449. Microsoft Windows
  450.    Several Beta testers have run HamlET in Windows without problems. I
  451.    cannot verify this from personal experience.
  452.  
  453.  
  454. Usual Notices.
  455.  
  456.     HAMLET.EXE, HAMLET.CFG and this document (The Software) is copyrighted by
  457.     Paul B. Schou. The copyright owner hereby licenses you to use and
  458.     distribute the software with these restrictions:
  459.  
  460.     The program shall be supplied in its original, unmodified form, which
  461.     includes this documentation;
  462.  
  463.     For-profit use without a license is prohibited;
  464.  
  465.     The program may not be included, or bundled with other goods or services.
  466.     Exceptions may be granted upon written request only.
  467.  
  468.     No fee is charged; An exception is granted to non-profit user's groups,
  469.     which are permitted to charge a small fee (not to exceed $5.00) for
  470.     materials, handling, postage, and general overhead. No other organization
  471.     is permitted to charge any amount for distribution of copies of the
  472.     software or  documentation, or to include copies of the software or
  473.     documentation with sales of their products.
  474.  
  475.     There is no warranty of any kind. The copyright owner may not be held
  476.     liable for any damages, including any lost profits or other incidental or
  477.     consequential damages arising out of or inability to use the software.
  478.     By using the software, you agree to this.
  479.  
  480.